package com.swp.oa.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("sys")
public class HomeController {

	// 返回欢迎登录界面
	@RequestMapping("/index")
	public String welcome() {
		System.out.println("come in welcome");
		return "sys/index";
	}
	
	@RequestMapping("/hello")
	public String hello()
	{
		return "layouts/sys-home";
	}
	
	@RequestMapping("/testEcharts")
	public String testEcharts()
	{
		return "echarts/testEcharts";
	}
	
	
}
